﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.event {
    import flash.events.*;
    import org.aswing.*;

    public class ScrollPaneEvent extends InteractiveEvent {

        public static const SCROLLBAR_STATE_CHANGED:String = "scrollbarStateChanged";
        public static const VIEWPORT_CHANGED:String = "viewportChanged";

        private var scrollbar:JScrollBar;
        private var viewportChanged:Boolean;

        public function ScrollPaneEvent(_arg1:String, _arg2:Boolean=false, _arg3:JScrollBar=null, _arg4:Boolean=false){
            super(_arg1, _arg2, false, false);
        }
        override public function clone():Event{
            return (new ScrollPaneEvent(type, isProgrammatic(), this.scrollbar, this.viewportChanged));
        }
        public function getScrollBar():JScrollBar{
            return (this.scrollbar);
        }
        public function isViewportChanged():Boolean{
            return (this.viewportChanged);
        }

    }
}//package org.aswing.event 
